Skip to content

Modify date enrichment to allow dates like '1935/07, ca.'#1274

Open
barbarahui wants to merge 1 commit intomainfrom
allow-new-date-format
Open

Modify date enrichment to allow dates like '1935/07, ca.'#1274
barbarahui wants to merge 1 commit intomainfrom
allow-new-date-format

Conversation

@barbarahui
Copy link
Collaborator

There are some records in collection 26935 with a date format we must not have encountered before: 1935/07, ca., 1881/05, ca., 1985/12, ca.. This PR allows for these dates to be enriched. I think the change I made is innocuous, but wow this code is complex!

@amywieliczka
Copy link
Collaborator

Oh geez. The date code is extremely complex. I'm worried about the implications of this change, especially since we don't really have any way to test it.

Is it possible to make the change closer to the relevant data? Like, in the mapper potentially?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

map_page error ValueError: invalid literal for int() with base 10: '07,' for 26935

2 participants